
namespace JTZY.Model.Pay.Dto
{
    /// <summary>
    /// 微信支付配置查询对象
    /// </summary>
    public class CorecmswechatpayconfigQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 微信支付配置输入输出对象
    /// </summary>
    public class CorecmswechatpayconfigDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "应用号不能为空")]
        public string AppId { get; set; }

        [Required(ErrorMessage = "商户号不能为空")]
        public string MchId { get; set; }

        public string ApiKey { get; set; }

        public string ApiV3Key { get; set; }

        public string Certificate { get; set; }

        public string RsaPublicKey { get; set; }

        public string SubAppId { get; set; }

        public string SubMchId { get; set; }

        public string NotifyUrl { get; set; }

        public string RefundUrl { get; set; }

        public string JumpUrl { get; set; }

        [Required(ErrorMessage = "是否开启不能为空")]
        public bool IsEnable { get; set; }

        [Required(ErrorMessage = "是否本类默认不能为空")]
        public bool IsDefault { get; set; }

        public string AppType { get; set; }



        [ExcelColumn(Name = "是否开启")]
        public string IsEnableLabel { get; set; }
    }
}